import request from '@/utils/request'

export const addOneAuth = (data) =>
  request({
    url: '/addOneAuth',
    method: 'put',
    data: data || {}
  })

export const updateOneAuthById = (data) =>
  request({
    url: '/updateOneAuthById',
    method: 'patch',
    data: data || {}
  })

export const getAuthListAll = () =>
  request({
    url: '/getAuthListAll',
    method: 'get'
  })
